<template>
	<view class="content page-set">
		<view class="content-top">
			<view class='cell-group right-img bm' @click="goArticleInfo(34)">
				<view class='cell-item'>
					<view class='cell-item-hd'>
						<view class='cell-hd-title'>隐私政策</view>
					</view>
					<view class='cell-item-ft'>
						<u-icon name="arrow-right" color="#0F1011"></u-icon>
					</view>
				</view>
			</view>
			<view class='cell-group right-img bm' @click="toSet">
				<view class='cell-item'>
					<view class='cell-item-hd'>
						<view class='cell-hd-title'>权限管理</view>
					</view>
					<view class='cell-item-ft'>
						<u-icon name="arrow-right" color="#0F1011"></u-icon>
					</view>
				</view>
			</view>
			<!-- <view class='cell-group right-img bm'>
				<view class='cell-item'>
					<view class='cell-item-hd'>
						<view class='cell-hd-title'>个人信息收集清单</view>
					</view>
					<view class='cell-item-ft'>
						<u-icon name="arrow-right" color="#0F1011"></u-icon>
					</view>
				</view>
			</view> -->
			<view class='cell-group right-img bm' @click="goArticleInfo(30)">
				<view class='cell-item'>
					<view class='cell-item-hd'>
						<view class='cell-hd-title'>如何注销账号</view>
					</view>
					<view class='cell-item-ft'>
						<u-icon name="arrow-right" color="#0F1011"></u-icon>
					</view>
				</view>
			</view>
			<!-- <view class='cell-group right-img bm' @click="toPage('/pages/user/article/index?id=11')">
				<view class='cell-item'>
					<view class='cell-item-hd'>
						<view class='cell-hd-title'>常见问题</view>
					</view>
					<view class='cell-item-ft'>
						<u-icon name="arrow-right" color="#0F1011"></u-icon>
					</view>
				</view>
			</view> -->
		</view>

	</view>
</template>

<script>
	export default {

		data() {
			return {}
		},
		onLoad(e) {},
		methods: {
			toSet() {
				uni.openSetting({
					success: function(settingRes) {
						
							console.log('settingRes');
					}
				});
			},
			toPage(url) {
				uni.navigateTo({
					url
				})
			}
		}
	}
</script>

<style lang="scss">
	page {
		background: #fff;
	}

	.agreement {
		position: fixed;
		bottom: 30rpx;
		left: 0;
		right: 0;
		padding: 44rpx;
		text-align: center;

		.btn {
			width: 100%;
			border-radius: 16rpx;
			padding: 15rpx;
		}
	}

	.color-o {
		margin: 0 10rpx;
	}

	.page-set {
		padding: 0 40rpx 40rpx;

		.cell-item {
			padding: 40rpx 0;
			margin: 0;
			width: auto;
		}

		.cell-hd-title {
			font-size: 28rpx;
			font-family: PingFang SC-Bold, PingFang SC;
			color: #0F1011;
		}
	}
</style>